import Vue from 'vue';
import Router from 'vue-router';
import HelloWorld from '@/components/HelloWorld';
import organization from '../pages/user-manage/organization/organization';
import organizationForm from '../pages/user-manage/organization/form/organization-form';
import user from '../pages/user-manage/user/user';
import role from '../pages/user-manage/role/role';
import form01 from '../pages/form/form01/form01';
import form02 from '../pages/form/form02/form02';
import form03 from '../pages/form/form03/form03';
import form04 from '../pages/form/form04/form04';
import form05 from "../pages/form/form05/form05";
import router01 from '../pages/router-test/router01'
import router02 from '../pages/router-test/router02'
import router03 from '../pages/router-test/router03'

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    }, {
      path: '/organization',
      name: 'organization',
      component: organization
    }, {
      path: '/organization/form',
      name: 'organizationForm',
      component: organizationForm
    }, {
      path: '/user',
      name: 'user',
      component: user
    }, {
      path: '/role',
      name: 'role',
      component: role
    }, {
      path: '/form01',
      name: 'form01',
      component: form01
    }, {
      path: '/form02',
      name: 'form02',
      component: form02
    }, {
      path: '/form03',
      name: 'form03',
      component: form03
    }, {
      path: '/form04',
      name: 'form04',
      component: form04
    }, {
      path: '/form05',
      name: 'form05',
      component: form05
    }, {
      path: '/router01/:id',
      name: 'router01',
      component: router01
    }, {
      path: '/router02/:id/:name',
      name: 'router02',
      component: router02
    }, {
      path: '/router03',
      name: 'router03',
      component: router03
    }
  ]
});
